package com.design.FactoryVSStrategy.factory;

/**
 * @author liangxin
 * @since 27/06/2019
 */
public class Sub extends Operation {
    @Override
    public double getResult(double numberA, double numberB) {
        return numberA - numberB;
    }
}